package com.pengshun.modules.api.coal.result;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class MerchantMapResult {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 地址
     */
    private  String detailAddress;

    private BigDecimal lngX;

    private BigDecimal latY;

    /***
     * 距离
     */
    private String distance;
    private Integer merchantCategoryId;

    public String getDistance() {

        return distance==null?"0":distance;
    }
}
